package com.seecen.HJM.model.dto;

import com.seecen.HJM.enumeration.BannerStatusEnum;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

//分页查询
@Data
@NoArgsConstructor
public class BannerDto implements Serializable {


    //序列化
    @Serial
    private static final long serialVersionUID = 1L;
    //页码
    @NotNull
    private Integer pageNum;
    //数量
    @NotNull
    private Integer pageSize;
    //状态
    private BannerStatusEnum bannerStatus;


}
